package com.woniuxy.intellihome.mapper;

import com.woniuxy.intellihome.entity.Category;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2021-08-11
 */
public interface CategoryMapper extends BaseMapper<Category> {
@Select("SELECT * from m_category where status = 'y'")
    List<Category> getByStatus();
}
